/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Utility;

/**
 *
 * @author Shuhail
 */
public class DefaultValueSeperator {
    
    
    public static String[] getAllValues(String s) {
        
        String[] values = s.split(":::");
       
        return values;
        
    }
    
    public static String addToCurrent(String src,String target){
        src=src+":::"+target;
        
        return src;
    }
    
    public static void main(String[] args) {
        new DefaultValueSeperator().getAllValues("Admin:::aaaa:::CCC");
        new DefaultValueSeperator().addToCurrent("AA:::BB:::FF", "Shuhail");
    }
    
}
